package com.zzq.demo.tio.server.handler;

import com.zzq.demo.tio.common.HelloPacket;
import com.zzq.demo.tio.common.bs.AbsBsHandler;
import com.zzq.demo.tio.common.packet.BaseBody;
import org.tio.core.ChannelContext;

/**
 * @author zzq
 */
public class HeartbeatReqHandler extends AbsBsHandler<BaseBody> {

    @Override
    public Class<BaseBody> bodyClass() {
        return BaseBody.class;
    }

    @Override
    public Object handler(HelloPacket packet, BaseBody bsBody, ChannelContext channelContext) throws Exception {
        //心跳消息,啥也不用做
        return null;
    }
}
